package com.ssy.lingxi.purchase.api.dto.response.tender;

import com.ssy.lingxi.purchase.api.dto.request.tender.InviteTenderFileRequest;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 投标物料表
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/3/1
 */
@Getter
@Setter
public class SubmitTenderMaterielResponse implements Serializable {
    private static final long serialVersionUID = 5239786244764910397L;
    /**
     * 主键id
     */
    private Long id;

    /**
     * 招标物料
     */
    private InviteTenderMaterielResponse inviteTenderMateriel;

    /**
     * 关联商品id
     */
    private Long commodityId;

    /**
     * 关联商品skuId
     */
    private Long commoditySkuId;

    /**
     * 关联商品编号
     */
    private String commodityCode;

    /**
     * 关联商品名称
     */
    private String commodityName;

    /**
     * 关联商品规格属性
     */
    private String commodityAttribute;

    /**
     * 关联商品品类
     */
    private String commodityCategory;

    /**
     * 关联商品品牌
     */
    private String commodityBrand;

    /**
     * 是否含税
     */
    private Boolean isTax = true;

    /**
     * 税率
     */
    private Double taxRate;

    /**
     * 单价
     */
    private Double price;

    /**
     * 投标摘要
     */
    private String remark;

    /**
     * 附件
     */
    private List<InviteTenderFileRequest> file;

    /**
     * 是否授标
     */
    private Boolean isAwardTender;

    /**
     * 授标比例
     */
    private Double awardTenderRatio;
}
